package com.my.jvm;

/**
 * @author: marshal
 * @date: 2023-07-30 10:17
 */
public class ClassInitTest {
    private static int v1 = 1;

    static {
        v1 = 2;
        v2 = 20;
    }

    private static int v2 = 10;

    public static void main(String[] args) {
        System.out.println(ClassInitTest.v1);
        System.out.println(ClassInitTest.v2);
    }
}
